package com.ai.bitcoin.jpa.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description: ${description}
 * @author: gulj
 * @create: 2018-08-09 16:18
 **/
@Entity
@Data
@Table(name = "bcc_report_monitor_config")
@NoArgsConstructor
public class    BccReportMonitorConfig extends Identity {

    private String openId;
    private String bccId;
    private String bccNameEn;
    private String bccCoinUrl;
    /**
     * ERC20代币(0.关闭，1.开启)
     */
    private Integer ercTwoZeroSwitch;
    /**
     * 暴涨暴跌开关(0.关闭，1.开启)
     */
    private Integer boomBustSwitch;
    /**
     * 交易所公告开关(0.关闭，1.开启)
     */
    private Integer exchangeAnnoSwitch;
    /**
     * 报告订阅开关(0.关闭，1.开启)
     */
    private Integer reportSubscribeSwitch;
    /**
     * 舆情动态开关(0.关闭，1.开启)
     */
    private Integer newsDynamicSwitch;

    private Integer buyerSellerPointSwitch;
    /**
     * 币的价格最小值
     */
    private BigDecimal coinPriceMin;
    /**
     * 币的价格最大值
     */
    private BigDecimal coinPriceMax;

    /**
     * 币的价格推送频率(1.仅有效一次，2.每天有效一次)
     */
    private Integer coinPriceRate;
    /**
     * 币的价格选择的交易所
     */
    private String coinPriceMarket;
    private Date createTime;
    private Date updateTime;


    @Transient
    private int ercTwoZeroSwitchCount;
    @Transient
    private int boomBustSwitchCount;
    @Transient
    private int exchangeAnnoSwitchCount;
    @Transient
    private int coinPriceRemindCount;


}
